package com.h3c.nem.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.h3c.nem.enums.IdTypeEnum;
import com.h3c.nem.enums.OfferWorkerStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/** 工卡照片审核和导出模型
 * @author :h24002
 * @date :2022/6/28 19:20
 * @description :TbWorkerCardImageDTO
 */
@ApiModel(value = "TbWorker对象", description = "工卡照片")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbWorkerCardImageDTO {
    @ApiModelProperty("附件ID")
    private String attachmentId;

    @ApiModelProperty("预备员工号")
    private String workerId;

    @ApiModelProperty("是否审核通过：1 待审核；2 通过；3 驳回")
    private Integer fileState;

    @ApiModelProperty("文件名称,附带文件格式")
    private String fileName;

    @ApiModelProperty("SFS文件ID")
    private String fileId;

    @ApiModelProperty("hrss系统存储的文件路径")
    private String filePath;

    @ApiModelProperty(value = "证件类型")
    private String certType;

    @ApiModelProperty(value = "证件号码")
    private String certNo;

    @ApiModelProperty("正式员工工号")
    private String workerCode;

    @ApiModelProperty("姓名")
    private String workerName;

    @ApiModelProperty(value = "员工状态：12 驳回；10 已入职；13 取消报到；其他均为 待入职")
    private OfferWorkerStatusEnum workerStatus;

    @ApiModelProperty(value = "计划入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planReportDate;

    @ApiModelProperty(value = "一级部门名称")
    private String dept1name;

    @ApiModelProperty(value = "二级部门名称")
    private String dept2name;

    @ApiModelProperty(value = "三级部门名称")
    private String dept3name;

    @ApiModelProperty(value = "四级部门名称")
    private String dept4name;

    @ApiModelProperty(value = "电话号码")
    private String phoneNo;

}
